//
//  AboutUs.m
//  YinHang
//
//  Created by apple on 14-9-22.
//  Copyright (c) 2014年 孙彦鹏. All rights reserved.
//

#import "AboutUs.h"

@implementation AboutUs
- (void)dealloc {
    _titleStr= nil;
    _contentStr = nil;
  
}

- (id)initWithTitleStr:(NSString *)titleStr contentStr:(NSString *)contentStr {
    
    if (self = [super init]) {
        
       _titleStr = titleStr;
       _contentStr = contentStr;
      
    }
    return self;
}

//新


- (id)init{
    self = [super init];
    if (self) {
        _pageno = @"1";
        _pagesize = @"5";
        _hasMoreData = YES;
    }
    return self;
}

#pragma mark - Public method

- (void)nextPage{
    NSInteger pageno = [_pageno integerValue];
    pageno++;
    _pageno = [NSString stringWithFormat:@"%ld",(long)pageno];
}

#pragma mark - Property getter method

- (NSMutableArray*)dataArr{
    if (!_dataArr) {
        _dataArr = [NSMutableArray array];
    }
    return _dataArr;
}

@end
